package com.hziee.cosmanage.member.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hziee.common.utils.PageUtils;
import com.hziee.common.utils.Query;

import com.hziee.cosmanage.member.dao.PerormanceDao;
import com.hziee.cosmanage.member.entity.PerormanceEntity;
import com.hziee.cosmanage.member.service.PerormanceService;


@Service("perormanceService")
public class PerormanceServiceImpl extends ServiceImpl<PerormanceDao, PerormanceEntity> implements PerormanceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PerormanceEntity> page = this.page(
                new Query<PerormanceEntity>().getPage(params),
                new QueryWrapper<PerormanceEntity>()
        );

        return new PageUtils(page);
    }

}